package com.oss.entity.oss;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.oss.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.time.LocalDate;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName(value = "partner_share")
public class PartnerShare extends BaseEntity {
    // ID
    @TableId(value = "id")
    private String id;
    // 购买日期
    private LocalDate date;
    // 产品类型
    private String productType;
    // 学员账号(改为练习账号)
    private String studentID;
    // 购买份数(重心币价值)
    private BigDecimal buyCopies;
    // 消费金额
    private BigDecimal monetary;
    // vip服务 0:否 1:是
    private Integer vipServer;
}